package a.i.a;

import a.c.e;
import a.c.k;
import a.c.w;
import a.c.x;

import java.util.Comparator;

public class q
  implements m
{
  private x a = null;
  private boolean b = false;
  private a.c.q c;
  private l d = null;
  public static boolean e;
  
  public q(a.c.q paramq)
  {
    this.c = paramq;
    this.a = this.c.B();
    a(this.a);
    this.b = true;
  }
  
  public q(a.c.q paramq, k paramk)
  {
    this.c = paramq;
    this.a = this.c.B();
    a(this.a);
    w localw = this.c.v();
    if (localw.e()) {}
    while (bool2)
    {
      a(localw.d(), paramk.getInt(localw.d()));
      localw.f();
      if ((!bool2) && (bool1)) {
        return;
      }
      if (!bool1) {
        break;
      }
    }
    this.b = true;
  }
  
  public q(x paramx)
  {
    a(paramx);
    this.c = null;
    this.b = false;
  }
  
  private void a(x paramx)
  {
    this.a = paramx;
    this.d = new l(new Comparator()
    {
      private final x val$_valueMap;
      
      public int compare(Object paramAnonymousObject1, Object paramAnonymousObject2)
      {
        boolean bool = d.e;
        e locale1 = (e)paramAnonymousObject1;
        e locale2 = (e)paramAnonymousObject2;
        int i = this.val$_valueMap.getInt(locale1);
        int j = this.val$_valueMap.getInt(locale2);
        if (!bool)
        {
          if (i == j) {
            return a.i.l.a(locale1.f(), locale2.f());
          }
          if (bool) {}
        }
        else if (i < j)
        {
          return -1;
        }
        return 1;
      }
    });
  }
  
  public boolean a()
  {
    return this.d.c();
  }
  
  public boolean a(e parame)
  {
    return this.d.a(parame);
  }
  
  public void a(e parame, int paramInt)
  {
    this.a.a(parame, paramInt);
    this.d.d(parame);
  }
  
  public void c(e parame)
  {
    this.d.b(parame);
  }
  
  public e b()
  {
    return (e)this.d.d();
  }
  
  public e c()
  {
    e locale = b();
    c(locale);
    return locale;
  }
  
  public void b(e parame, int paramInt)
  {
    this.d.b(parame);
    this.a.a(parame, paramInt);
    this.d.d(parame);
  }
  
  public void d()
  {
    this.d.b();
  }
  
  public int b(e parame)
  {
    return this.a.getInt(parame);
  }
  
  public void e()
  {
    this.d.b();
    if ((d.e) || (this.b)) {
      this.c.a(this.a);
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.i.a.q

 * JD-Core Version:    0.7.0.1

 */